package com.base.service.impl;

import com.base.mapper.voipmapper.ReplacementInsteadPayOtherMapper;
import com.base.po.replacement.ReplacementInsteadPayOther;
import com.base.po.replacement.ReplacementInsteadPayOtherExample;
import com.base.service.ReplacementInsteadPayOtherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("replacementInsteadPayOtherService")
public class ReplacementInsteadPayOtherServiceImpl implements ReplacementInsteadPayOtherService {
	
	@Autowired
	private ReplacementInsteadPayOtherMapper replacementInsteadPayOtherMapper;

	@Override
	public int countByExample(ReplacementInsteadPayOtherExample example) {
		return replacementInsteadPayOtherMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ReplacementInsteadPayOtherExample example) {
		return replacementInsteadPayOtherMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		return replacementInsteadPayOtherMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ReplacementInsteadPayOther record) {
		return replacementInsteadPayOtherMapper.insert(record);
	}

	@Override
	public int insertSelective(ReplacementInsteadPayOther record) {
		return replacementInsteadPayOtherMapper.insertSelective(record);
	}

	@Override
	public List<ReplacementInsteadPayOther> selectByExample(ReplacementInsteadPayOtherExample example) {
		return replacementInsteadPayOtherMapper.selectByExample(example);
	}

	@Override
	public ReplacementInsteadPayOther selectByPrimaryKey(String id) {
		return replacementInsteadPayOtherMapper.selectByPrimaryKey(id);
	}

	@Override
	public ReplacementInsteadPayOther selectByOrderNo(String orderno) {
		return replacementInsteadPayOtherMapper.selectByOrderNo(orderno);
	}

	@Override
	public int updateByExampleSelective(ReplacementInsteadPayOther record, ReplacementInsteadPayOtherExample example) {
		return replacementInsteadPayOtherMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(ReplacementInsteadPayOther record, ReplacementInsteadPayOtherExample example) {
		return replacementInsteadPayOtherMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(ReplacementInsteadPayOther record) {
		return replacementInsteadPayOtherMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ReplacementInsteadPayOther record) {
		return replacementInsteadPayOtherMapper.updateByPrimaryKey(record);
	}
}
